/*
 * ErrorConstant.java
 *
 * Copyright (C) 2013 UPOU.
 * IS214 - Programming Languages
 * All Rights Reserved.
 *
 * @author Mary Joy Pascual and Simon Zagado
 */

package com.upittc.flopol.constant;

public class ErrorConstant {

	public static final String ER_SYNTAX 	 	= "Syntax Error: ";
	public static final String ER_SEMANT 	 	= "Semantic Error: ";
	public static final String ER_EXEC 	 		= "Execution Error: ";
	public static final String ER_TOKEN	 	 	= "Illegal Token: ";
	public static final String ER_LINE	 	 	= " at Line No. ";
	public static final String ER_COMMENT	 	= "Line comment should start and end with *.";

	public static final String INVALID_CHAR	 	= "Invalid character ";
	public static final String INVALID_DATA	 	= "Invalid declaration ";
	public static final String INVALID_STATE	= "Invalid statement ";
	public static final String INVALID_IDENT	= "Invalid identifier ";
	public static final String INVALID_OPER		= "Invalid operator ";
	public static final String INVALID_REL		= "Invalid relational operator ";
	public static final String INVALID_LOG		= "Invalid logical operator ";
	public static final String INVALID_EXP		= "Invalid expression ";
	public static final String INVALID_ASSIGN	= "Invalid assignment ";
	public static final String MISSING_FLOP	 	= "Missing "+FlopolConstant.FLOP;
	public static final String MISSING_CREATE	= "Missing "+FlopolConstant.CREATE;
	public static final String MISSING_MANEUVER	= "Missing "+FlopolConstant.MANEUVER;
	public static final String MISSING_INTO		= "Missing "+FlopolConstant.INTO;
	public static final String MISSING_IS		= "Missing "+FlopolConstant.IS;
	public static final String MISSING_TO		= "Missing "+FlopolConstant.TO;
	public static final String MISSING_LBR		= "Missing "+FlopolConstant.LEFT_BRA;
	public static final String MISSING_RBR		= "Missing "+FlopolConstant.RIGHT_BRA;
	public static final String MISSING_TIMES	= "Missing "+FlopolConstant.TIMES;
	public static final String MISSING_CHECK	= "Missing conditional statement ";
	public static final String DUP_IDENTIFIER	= "Duplicate variable - ";
	public static final String NOT_EXISTING_ID	= "Variable not initialized in CREATE ";
	public static final String INVALID_PERFORM	= "Value should be greater than 0 s";
	
}

